package com.dao;

import com.bean.entity.ChainType;
import com.bean.vo.ChainTypeQueryVo;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * 产品规格数据接口
 */
@Repository
public interface ChainTypeMapper extends BaseMapper<ChainType,ChainTypeQueryVo> {
    int selectCount(ChainTypeQueryVo ctv);
    List<ChainTypeQueryVo> selectByPage(ChainTypeQueryVo ctv);
    List<ChainTypeQueryVo> selectByPage(HashMap<String,Object> map);
    int update(ChainType ct);
    int insertMain(ChainType ct);
    int fakeDelete(ChainTypeQueryVo ctv);
    int delete(ChainTypeQueryVo chainTypeQueryVo);
}
